import React, { Component } from 'react';
import { StyleSheet, View,Text, PanResponder } from 'react-native';

import { SafeAreaView } from 'react-navigation';
import BaseStyle from '../constants/Style';
import PanResponderView from "../components/panResponder";

export default class PanResponderScreen extends Component {

  constructor(props) {
    super(props);

    this.state = {
      style: {
        backgroundColor: 'blue',
      },
    }

  }
  
 
 
 


  render() {
    return (
      <SafeAreaView
        style={[BaseStyle.flex, styles.homebg]}>
       <PanResponderView
       toachStyle={styles.toachStyle}
       />
      </SafeAreaView>
    );
  }
}

const styles = StyleSheet.create({
  homebg: {
    backgroundColor: '#eee',
  },
  toachStyle:{
    backgroundColor:"red"
  },


});